package com.dxy.yesas2020goals.study.partone.disignpattern.factorypattern.factorymethod;

/**
 * @author victorydeng
 * @Classname KouZhaoTest
 * @Description TODO
 * @Date 2020/2/27 16:18
 * @Created by victorydeng
 */
public class KouZhaoTest {

  public static void main(String[] args) {
    KouZhaoFactory factory = new KN94KouZhaoFactory();
    KouZhao kn94 = factory.create();
    kn94.protect();

    KouZhaoFactory factory2 = new KN95KouZhaoFactory();
    KouZhao kn95 = factory2.create();
    kn95.protect();

    KouZhaoFactory factory3 = new KF94KouZhaoFactory();
    KouZhao kf94 = factory3.create();
    kf94.protect();


  }

}
